/**
 * Copyright (C), 2015-2021, XXX有限公司
 * FileName: XjfReportParam
 * Author:   Administrator
 * Date:     2021/8/12 0012 11:50
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package cn.hxlc.tie.demo.modular.jf.model.params;

import cn.hxlc.tie.demo.core.enums.WorkOrderEnum;
import cn.hxlc.tie.model.validator.BaseValidatingParam;
import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.SerializerFeature;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 〈一句话功能简述〉<br> 
 * 〈〉
 *
 * @author Administrator
 * @create 2021/8/12 0012
 * @since 1.0.0
 */
@Data
@ApiModel
public class XjfReportParam implements Serializable, BaseValidatingParam {

    @ApiModelProperty("ID")
    private Long fid;

    @ApiModelProperty("编码")
    private String fnumber;

    @JSONField(serialzeFeatures= SerializerFeature.WriteEnumUsingToString)
    @ApiModelProperty("汇报单状态")//0:暂存,1:审核,2:下达,3:手工关闭,4:自动关闭
    private WorkOrderEnum fstatus;

    @ApiModelProperty("生产单编码")
    private String fworkordernumber;

    @JSONField(serialzeFeatures= SerializerFeature.WriteEnumUsingToString)
    @ApiModelProperty("订单状态")//0:暂存,1:审核,2:下达,3:手工关闭,4:自动关闭
    private WorkOrderEnum fworkorderstatus;

    @ApiModelProperty("第三方id")
    private Long foid;

    @ApiModelProperty("领料日期")
    private Date fbizdate;

    @ApiModelProperty("备注")
    private String fdescription;

    @ApiModelProperty("创建人")
    private Long fcreatorid;

    @ApiModelProperty("创建时间")
    private Date fcreatetime;

    @ApiModelProperty("生产订单ID")
    private Long fworkorderid;

    @ApiModelProperty("生产订单行ID")
    private Long fworkorderentrtyid;

    @ApiModelProperty("产品名称")
    private String fmaterialname;

    @ApiModelProperty("产品规格")
    private String fmaterialmodel;

    @ApiModelProperty("产品编号")
    private String fmaterialnumber;

    @ApiModelProperty("产品批号")
    private String fmaterialflot;

    @ApiModelProperty("预计产量")
    private BigDecimal fqty;

    @ApiModelProperty("创建人")
    private Long fuserid;

    @ApiModelProperty("是否包含删除")
    private String fisdelete;

    @ApiModelProperty("合格数量")
    private BigDecimal fgoodqty;

    @ApiModelProperty("不合格数量")
    private BigDecimal fbadqty;

    @ApiModelProperty("汇报数量")
    private BigDecimal fdoneqty;

    @ApiModelProperty("设备")
    private Long fmachineid;

    @ApiModelProperty("模组")
    private Long fmodid;

    @ApiModelProperty("开始时间")
    private String fstartdate;

    @ApiModelProperty("结束时间")
    private String fenddate;

    @Override
    public String checkParam() {
        return null;
    }
}
